Skip to content

Implement MCP Studio Bridge Architecture with API and UI Integration#257

Open
Adversing wants to merge 2 commits into
Dumb-Code:main/productionfrom
Adversing:feat/mcp-integration
Open

Implement MCP Studio Bridge Architecture with API and UI Integration#257
Adversing wants to merge 2 commits into
Dumb-Code:main/productionfrom
Adversing:feat/mcp-integration

Conversation

@Adversing
Copy link
Copy Markdown

This pull request introduces a new Model Context Protocol (MCP) server package for DumbCode Studio and implements a robust REST bridge in the Studio app for communication with MCP clients. The main changes include the addition of a standalone MCP server (dumbcode-studio-mcp), a comprehensive REST API in Studio for MCP tool calls, and supporting infrastructure for command queuing, client management, and authentication. It serves as a tangible enhancement in productivity within the DumbCode ecosystem by using Generative AI Models directly into the Studio sandbox.

New MCP server package and Studio REST bridge:

  • Added a new package dumbcode-studio-mcp in apps/mcp-server that exposes DumbCode Studio as an MCP server, forwarding tool calls to the Studio REST bridge and supporting bearer token authentication. Includes documentation and configuration instructions.

Studio REST API for MCP:

  • Implemented a suite of API endpoints in apps/studio/pages/api/mcp/ for MCP command execution, action schema discovery, health checks, client polling, and result reporting. These endpoints support secure, queued command execution between the MCP server and browser-based Studio clients.

MCP command and client state management:

  • Added a new state management module (_state.ts) that handles command queuing, client registration, command leasing, timeout handling, and authentication for the REST bridge. Provides utility functions for all aspects of MCP command lifecycle.

…me, API endpoints, project remote management, and UI integration.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 12, 2026

@Adversing is attempting to deploy a commit to the dumbcodeteam-5439's projects Team on Vercel.

A member of the Team first needs to authorize it.

…ing function and handling visibility more effectively
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant